package online.rainy.dbhomework.pojo;


public class Course {
    private int cid;

    private String cname;

    private String teacher;

    @Override
    public String toString() {
        return "Course(cid=" + cid + ", cname=" + cname + ", teacher=" + teacher + ")";
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCname() {
        return cname;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getCid() {
        return cid;
    }
}
